﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AddProductLib
{
    public class NovyZbozi
    {
        private string p1;
        private string prefix;
        private string p2;
        private int p3;
        private DateTime dateTime1;
        private string p4;
        private int p5;
        private DateTime dateTime2;

        public NovyZbozi(string carovyKod, string prefix, string nazev, string cena, DateTime odDne, string pocetDni, int rezerva, DateTime keDni)
        {
            CarovyKod = carovyKod;
            Prefix = prefix;
            Nazev = nazev;
            Cena = cena;
            OdDne = odDne;
            PocetDni = pocetDni;
            Rezerva = rezerva;
            KeDni = keDni;
        }

        public NovyZbozi(string p1, string prefix, string p2, int p3, DateTime dateTime1, string p4, int p5, DateTime dateTime2)
        {
            // TODO: Complete member initialization
            this.p1 = p1;
            this.prefix = prefix;
            this.p2 = p2;
            this.p3 = p3;
            this.dateTime1 = dateTime1;
            this.p4 = p4;
            this.p5 = p5;
            this.dateTime2 = dateTime2;
        }

        public string CarovyKod { get; set; }

        public string Prefix { get; set; }

        public string Nazev { get; set; }

        public string Cena { get; set; }

        public string PocetDni { get; set; }

        public int Rezerva { get; set; }

        public DateTime OdDne { get; set; }

        public DateTime KeDni { get; set; }
    }
}
